<?xml version="1.0" encoding="UTF-8"?>

<window xmlns:web="http://www.yonyou.com/uapmobile/dsl" controller="DM_mainController" namespace="com.yonyou.ncmm_pac_pda" id="DM_main">
    <import ref="DM_main.css" type="css"/>
    <link href="sys/theme.css" type="text/css"/>
    <script src="#{path.controller}/commonjs/AppPatch.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/AppService.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/extjs/jquery-2.1.1.min.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_pubmenu.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_pub.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_http.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_factoryvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_stockorgvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_stordocvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_materialvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_batchcodevo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_bdwkvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_deptvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_measdocvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_barcoderulevo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_barcoderulebodyvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_barcodedictvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_barcodedictbodyvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_customervo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_suppliervo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_rackvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_mappingheadvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_mappingvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_datamange.js" type="text/javascript"/>
    <script src="#{path.controller}/puin/ncmm_purchaseinvo.js" type="text/javascript"/>
    <script src="#{path.controller}/puin/ncmm_purchaseinscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/out/ncmm_deliveryvo.js" type="text/javascript"/>
    <script src="#{path.controller}/out/ncmm_deliveryscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/finProdIn/ncmm_finprodinvo.js" type="text/javascript"/>
    <script src="#{path.controller}/finProdIn/ncmm_finprodinscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/MaterialOut/ncmm_materialoutvo.js" type="text/javascript"/>
    <script src="#{path.controller}/MaterialOut/ncmm_materialoutscansvo.js" type="text/javascript"/>
    <script src="#{path.controller}/saleout/ncmm_saleoutvo.js" type="text/javascript"/>
    <script src="#{path.controller}/saleout/ncmm_saleoutscansvo.js" type="text/javascript"/>
    <script src="#{path.controller}/InvCount/ncmm_invcountvo.js" type="text/javascript"/>
    <script src="#{path.controller}/InvCount/ncmm_invcountscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/transout/ncmm_transscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/transout/ncmm_transvo.js" type="text/javascript"/>
    <script src="#{path.controller}/soOut/ncmm_sovo.js" type="text/javascript"/>
    <script src="#{path.controller}/soOut/ncmm_soscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/transin/ncmm_transinvo.js" type="text/javascript"/>
    <script src="#{path.controller}/transin/ncmm_transinutil.js" type="text/javascript"/>
    <script src="#{path.controller}/transin/ncmm_transinscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/trans4K/ncmm_whstrans.js" type="text/javascript"/>
    <script src="#{path.controller}/trans4K/ncmm_whstransscan.js" type="text/javascript"/>
    <script src="#{path.controller}/poArrive/ncmm_poarrivevo.js" type="text/javascript"/>
    <script src="#{path.controller}/poArrive/ncmm_poarrivescanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_storestate.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_materialconvertvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_billtypevo.js" type="text/javascript"/>
    <script src="#{path.controller}/sapply/ncmm_sapplyvo.js" type="text/javascript"/>
    <script src="#{path.controller}/sapply/ncmm_sapplyscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/porderin/ncmm_porderinvo.js" type="text/javascript"/>
    <script src="#{path.controller}/porderin/ncmm_porderinscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/GeneralIn/ncmm_generalinvo.js" type="text/javascript"/>
    <script src="#{path.controller}/GeneralIn/ncmm_generalinscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/GeneralOut/ncmm_generaloutvo.js" type="text/javascript"/>
    <script src="#{path.controller}/GeneralOut/ncmm_generaloutscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/TransOutEdit/ncmm_transoutvo.js" type="text/javascript"/>
    <script src="#{path.controller}/TransOutEdit/ncmm_transoutscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/ReturnIn/ncmm_returninvo.js" type="text/javascript"/>
    <script src="#{path.controller}/ReturnIn/ncmm_returninscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/ReturnOut/ncmm_returnoutvo.js" type="text/javascript"/>
    <script src="#{path.controller}/ReturnOut/ncmm_returnoutscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/TransDeliverOut/ncmm_transdelivervo.js" type="text/javascript"/>
    <script src="#{path.controller}/TransDeliverOut/ncmm_transdeliverscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/scArrive/ncmm_scarrivevo.js" type="text/javascript"/>
    <script src="#{path.controller}/scArrive/ncmm_scarrivescanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/scArriveIn/ncmm_scarriveinvo.js" type="text/javascript"/>
    <script src="#{path.controller}/scArriveIn/ncmm_scarriveinscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/scorderin/ncmm_scorderinvo.js" type="text/javascript"/>
    <script src="#{path.controller}/scorderin/ncmm_scorderinscanvo.js" type="text/javascript"/>
    <div id="viewPage0" onload="pageload()">
        <div id="panel0" onload="bdListLoad()">
            <navigatorbar id="nb_main" title="数据管理" class="navigatorbarclass">
                <input onclick="onPageBtnClick()" id="btn_back" type="button" class="ngbbuttonclass"/>
                <div visible="false" id="panel17"/>
                <input onclick="loadmenu()" istogglebutton="false" checked="false" id="btn_menu" type="imagebutton" class="imagebuttonclass"/> 
            </navigatorbar>
            <div id="panel1">
                <toggleButtonGroup onchange="togglebtnchange()" id="togglebuttongroup0">
                    <toggleButton textOn="档案管理" checked="true" id="togglebutton0" type="button" value="0" class="togglebtnitemclass" textOff="档案管理"/>
                    <toggleButton textOn="单据管理" id="togglebutton1" type="button" value="1" class="togglebtnitemclass" textOff="单据管理"/> 
                </toggleButtonGroup>
                <div id="panel3">
                    <flipper viewindex="0" id="flipperdefine0" onpreviousflipper="previous()" onnextflipper="next()">
                        <div id="panel4">
                            <listView bindfield="bdlistdata" collapsed="true" onrestart="loadBaseDocTab()" id="listviewdefine0" onitemclick="dbListItemClick()" onload="bdListLoad()">
                                <div id="panel6">
                                    <div id="panel7">
                                        <input bindfield="ischecked" onclick="dbListitemCheckChanged()" id="checkbox0" type="checkbox"/> 
                                    </div>
                                    <div id="panel25">
                                        <div id="panel8">
                                            <div id="panel9">
                                                <div id="panel11">
                                                    <label bindfield="appbillname" id="label2">工厂</label> 
                                                </div>
                                                <div id="panel12">
                                                    <label bindfield="downloadnum" id="label3">22</label>
                                                    <div visible="false" id="panel13"/>
                                                    <label bindfield="downloadtime" id="label4">2016年9月29日 10:06</label> 
                                                </div> 
                                            </div>
                                            <div id="panel10">
                                                <image src="arrow.png" id="image0" scaletype="fitcenter"/> 
                                            </div> 
                                        </div>
                                        <div id="panel26">
                                            <progressbar bindfield="progressbar" max="100" progress="0" id="progressbar0"/> 
                                        </div> 
                                    </div> 
                                </div> 
                            </listView> 
                        </div>
                        <div id="panel5">
                            <listView bindfield="billlistdata" collapsed="true" id="listviewdefine1" onload="billlistLoad()">
                                <div id="panel18">
                                    <div id="panel19">
                                        <input bindfield="ischecked" id="checkbox2" type="checkbox"/> 
                                    </div>
                                    <div id="panel20">
                                        <div id="panel21">
                                            <label bindfield="appbillname" id="label1">材料出库单</label> 
                                        </div>
                                        <div id="panel22">
                                            <label bindfield="downloadnum" id="label0">11</label>
                                            <div id="panel23"/>
                                            <div id="panel24">
                                                <label bindfield="downloadtime" id="label6">2016年9月29日 10:06</label> 
                                            </div> 
                                        </div> 
                                    </div> 
                                </div> 
                            </listView> 
                        </div> 
                    </flipper> 
                </div> 
            </div>
            <div id="panel2">
                <div id="panel14">
                    <input bindfield="isAllChecked" onclick="onCheckAll()" id="checkbox1" type="checkbox"/>
                    <label id="label5">全选</label> 
                </div>
                <div visible="false" id="panel15"/>
                <div id="panel16">
                    <input onclick="onDownloadBaseData()" id="button0" type="button" value="下载" class="textbtnclass"/>
                    <input onclick="onClearLocalData()" id="button2" type="button" value="清除" class="textbtnclass"/> 
                </div> 
            </div> 
        </div> 
    </div> 
</window>
